package com.ty.init.service;

import com.ty.init.pojo.User;
import com.ty.init.uitl.Vo.UserVo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author ty
 */
public interface UserService {
    public User login(String username,String password);
    public List findUsers();
    public List findUsersLimit(Integer start , Integer pageSize);
    public void addUser(User user);
    public Integer deleteUser(Integer uid);
    public User findById(Integer uid);
    public Integer userUpdate(User user ,String username);
    public Integer changePassword(Integer uid,String oldPassword ,String info);
    public List<UserVo> userMessage();
}
